<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        function test(){
            console.log("hello");
        }
        test(100);

        // NaN:not a number 转换错误的提示
        function add(a,b){
            console.log(a+b);
        }
        add();

        // 了解
        function add1(){
            // arguments 参数数组
            for (let i = 0; i < arguments.length; i++) {
                console.log(arguments[i]);
            }
        }
        add1(11,22,33,44,55,66);
    </script>
</body>
</html>